/**
 * 
 */
package org.karthik.ecomm.dto;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Transient;

/**
 * @author Uday Shankar
 * 
 */
@Entity
@Table(name = "EMPLOYEE")
public class Employee {
	@Id
	private int empID;
	private String empName;
	@Temporal(TemporalType.DATE)
	private Date joinDate;
	private String city;
	@Transient    // This field will not be persisted because its marked Transient.
	private String description;
	@Lob          // 
	private String largeObject;

	/**
	 * @return the empID
	 */
	public int getEmpID() {
		return empID;
	}

	/**
	 * @param empID
	 *            the empID to set
	 */
	public void setEmpID(int empID) {
		this.empID = empID;
	}

	/**
	 * @return the empName
	 */
	public String getEmpName() {
		return empName;
	}

	/**
	 * @param empName
	 *            the empName to set
	 */
	public void setEmpName(String empName) {
		this.empName = empName;
	}

	/**
	 * @return the joinDate
	 */
	public Date getJoinDate() {
		return joinDate;
	}

	/**
	 * @param joinDate
	 *            the joinDate to set
	 */
	public void setJoinDate(Date joinDate) {
		this.joinDate = joinDate;
	}

	/**
	 * @return the city
	 */
	public String getCity() {
		return city;
	}

	/**
	 * @param city
	 *            the city to set
	 */
	public void setCity(String city) {
		this.city = city;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description
	 *            the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return the largeObject
	 */
	public String getLargeObject() {
		return largeObject;
	}

	/**
	 * @param largeObject
	 *            the largeObject to set
	 */
	public void setLargeObject(String largeObject) {
		this.largeObject = largeObject;
	}
}
